<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>YouTuTV全球最大视频论坛社区</title>
    <meta name="lee" content="电影,电视剧,博客,论坛,编程开发,教育,资源分享,英语学习,英语语法,教学视频,高考,成人,职业教育">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link th:include="header-js">
</head>
<body class="lay-blog">
<div class="header">
    <div class="header-wrap">
        <div th:include="header"></div>
        <div class="blog-nav pull-right">
            <div th:include="header-nav"></div>
            <a href="#" class="personal pull-left">
                <i class="layui-icon layui-icon-username"></i>
            </a>
        </div>
        <div class="mobile-nav pull-right" id="mobile-nav">
            <a href="javascript:;">
                <i class="layui-icon layui-icon-more"></i>
            </a>
        </div>
    </div>
    <ul class="pop-nav" id="pop-nav">
        <li><a href="/index">首页</a></li>
        <li><a href="/message">留言</a></li>
        <li><a href="/about">关于</a></li>
    </ul>
</div>
<div class="container-wrap">
    <div class="container container-message" style="width: 80%;">
        <div class="contar-wrap" id="contar-wrap">
            <form class="layui-form" th:action="@{/updatePwd}" method="post">
                <h2>修改密码</h2>
                <div class="layui-form-item layui-form-text">
                    请输入新密码：<br><br>
                    <input class="layui-input" name="password" id="password" type="password" placeholder="请输入密码" style="resize:none;width: 300px" />
                    <p th:text="${password}" th:if="${not #strings.isEmpty(password)}" style="color: red;font-size: 16px"></p>
                    <br>
<!--                    再次输入新密码：<input class="layui-input" name="repassword" id="repassword" type="password" placeholder="请输入密码" style="resize:none;width: 300px" />-->
<!--                    <div class="item-btn">-->
                        <input type="submit" class="layui-btn layui-btn-normal" id="item-btn" value="确定">
<!--                    </div>-->
                </div>
            </form>
            <div id="test1" class="paging"></div>
        </div>
    </div>
</div>
<div class="footer">
    <div th:include="food"></div>
</div>
</div>
<script th:src="@{/layui/layui.js}"></script>
<script>
    layui.config({
        base: '../static/js/'
    }).use('blog');
</script>

<script id="LAY-msg-tpl" type="text/html">
    <div class="info-box">
        <div class="info-item">
            <img class="info-img" src="{{ d.avatar }}" alt="">
            <div class="info-text">
                <p class="title">
                    <span class="name">{{ d.username }}</span>
                    <span class="info-img">
					  	<i class="layui-icon layui-icon-praise"></i>
					  	{{ d.praise }}
					 	</span>
                </p>
                <p class="info-intr">
                    {{ d.content }}
                </p>
            </div>
        </div>
    </div>
</script>
</body>
